package cn.ly.core.thread.dielock;

public class TestDieLock {
	
	public static void main(String[] args) {
		
		LockObjA obja = new LockObjA();
		LockObjB objb = new LockObjB();
		
		Thread1 t1 = new Thread1(obja,objb);
		Thread2 t2 = new Thread2(obja,objb);
		
		t1.start();
		t2.start();
		
	}

}
